-
Home
-
UpsellWP – WooCommerce Upsell and Related Products Offers
-
1.1.2
-
Code
-
Classes
- WP
Total Complexity |
41 |
Dependencies |
0 |
Dependents |
10 |
Total lines |
231 |
Lines of code |
91 |
Logical lines of code |
44 |
Comment lines |
111 |
Methods |
18 |
Properties |
0 |
Methods 18
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
getFormat() |
S |
63 |
4 |
10 |
formatDate() |
S |
64 |
4 |
9 |
getRole() |
S |
70 |
4 |
6 |
getUserName() |
S |
68 |
3 |
7 |
isAjax() |
S |
77 |
3 |
3 |
createNonce() |
S |
71 |
2 |
6 |
verifyNonce() |
S |
70 |
2 |
6 |
getId() |
S |
78 |
2 |
3 |
getTitle() |
S |
78 |
2 |
3 |
getUserRoles() |
S |
69 |
2 |
7 |
getCurrentUser() |
S |
78 |
2 |
3 |
getCurrentUserId() |
S |
78 |
2 |
3 |
getCurrentPageUrl() |
S |
73 |
2 |
4 |
isAdmin() |
S |
79 |
2 |
3 |
isRtl() |
S |
79 |
2 |
3 |
adminNotice() |
S |
67 |
1 |
9 |
getImage() |
S |
78 |
1 |
3 |
getUser() |
S |
79 |
1 |
3 |